package zhoug.demo.zui.ui;

import android.os.Bundle;
import android.view.ViewGroup;
import android.widget.TextView;

import zhoug.demo.zui.R;

import androidx.appcompat.app.AppCompatActivity;

public class AlignTextViewActivity extends AppCompatActivity {
    private static final String TAG = ">>>AlignTextViewActivity";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_align_text_view);
    }

    private void setWidth(TextView textView,int width){
        ViewGroup.LayoutParams layoutParams = textView.getLayoutParams();
        layoutParams.width=width;
        textView.setLayoutParams(layoutParams);

    }


}